YAYDP\Helper\YAYDP_Condition_Helper D

Total Complexity 156
Dependencies 2
Dependents 1
Total lines 775
Lines of code 498
Logical lines of code 360
Comment lines 221
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
check_conditions()
B
37 22 73
get_cart_items_match_product()
A
46 13 39
check_order_history_product()
A
45 12 44
check_cart_subtotal_price()
A
45 12 39
check_shipping_region()
A
49 12 27
get_cart_items_match_tag()
A
47 11 35
get_cart_items_match_category()
A
47 11 35
check_order_history_category()
A
46 10 38
check_cart_quantity()
A
47 10 35
check_orders_purchased_date()
S
51 7 27
check_payment_method()
S
58 7 13
check_customer_order_count()
S
55 6 19
check_shipping_total()
S
58 5 15
check_cart_total_weight()
S
58 5 15
check_customer_role()
S
62 2 11
check_specific_customer()
S
68 2 6
check_logged_customer()
S
77 2 3
check_cart_item()
S
68 2 7
check_cart_item_category()
S
68 2 7
check_cart_item_tag()
S
68 2 7
check_combined_items()
S
81 1 3